package com.dlc.beijingrfid.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dlc.beijingrfid.R;
import com.dlc.beijingrfid.net.bean.StockCheckData;
import java.util.ArrayList;

/**
 * Created by John on 2017/7/24.
 */

public class QueryRfidAdapter extends BaseQuickAdapter<StockCheckData,BaseViewHolder> {
    public QueryRfidAdapter() {
        super(R.layout.item_query_rfid, new ArrayList<StockCheckData>());
    }





    @Override
    protected void convert(BaseViewHolder helper, StockCheckData item) {
        helper.setText(R.id.name, item.goods_name);
        helper.setText(R.id.inventory, item.stock_nums);
        helper.setText(R.id.hotel, item.hotel);
        helper.setText(R.id.office, item.office);
    }
}
